package com.pos.modules.cashier;

public class PayContacts {
	
	/**
	 * 交易类型 - 消费
	 * */
	public static final String SALE_TYPE = "001" ;
	
	/**
	 * 交易类型 - 消费撤销
	 * */
	public static final String VOID_TYPE = "002" ;
	
	/**
	 * 交易类型 - 余额查询
	 * */
	public static final String BALANCE_ENQUIRY_TYPE = "003" ;
	
	/**
	 * 交易类型 - 签到
	 * */
	public static final String SIGNIN_TYPE = "004" ;
	
	/**
	 * 交易类型 - 签退
	 * */
	public static final String SIGNOUT_TYPE = "005" ;
	
	/**
	 * 交易类型 - 批结算
	 * */
	public static final String SETTLEMENT_TYPE = "006" ;
	
	/**
	 * 交易类型 - 预授权
	 * */
	public static final String PRE_AUTH_TYPE = "007" ;
	
	/**
	 * 交易类型 - 预授权撤销
	 * */
	public static final String PRE_AUTH_VOID_TYPE = "008" ;
	
	/**
	 * 交易类型 - 预授权完成请求
	 * */
	public static final String PRE_AUTH_REQUEST_TYPE = "009" ;
	
	/**
	 * 交易类型 - 预授权完成请求撤销
	 * */
	public static final String PRE_AUTH_REQUEST_VOID_TYPE = "010" ;
	
	
	/**
	 * 交易类型 - 打印最后一笔
	 * */
	public static final String PRINT_LAST_DEAL_INFO_TYPE = "011" ;
	
	/**
	 * 交易类型 - 支付宝支付
	 * */
	public static final String ALIPAY_PAY_TYPE = "012" ;
	
	/**
	 * 交易类型 - 微信支付
	 * */
	public static final String WECHAT_PAY_TYPE = "013" ;
	
	
	/**
	 * 交易类型 - 第三方订单号查询
	 * */
	public static final String EXTERNAL_ORDERNOQUERY_TYPE = "014" ;
	
	/**
	 * 请求数据 key
	 * */
	public static final String REQUEST_DATA = "request_data" ;
	
	/**
	 * 返回数据 key
	 * */
	public static final String RETURN_DATA = "return_data" ;
	
	/**
	 * 交易返回码 key
	 * */
	public static final String RETURN_CODE = "return_code" ;
	
	/**
	 * 交易失败 key
	 * */
	public static final int DEAL_FAILED = -1 ;
	
	/**
	 * 交易成功 key
	 * */
	public static final int DEAL_SUCCESS = 2 ;
	
	/**
	 * 交易类型 key
	 * */
	public static final String TRADE_TYPE = "trade_type" ;
	
	/**
	 * 交易金额 key
	 * */
	public static final String AMOUNT = "amount" ;
	
	/**
	 * 交易凭证号 key
	 * */
	public static final String VOUCHER_NO = "voucher_no" ;
	
	
	
	/**
	 * 商户名称
	 * */
	public static final String MERCHANT_NAME = "merchantName" ;
	
	/**
	 * 商户号
	 * */
	public static final String MERCHANT_ID = "merchantId" ;
	
	/**
	 * 终端号
	 * */
	public static final String TERMINAL_ID = "terminalId" ;
	
	/**
	 * 参考号
	 * */
	public static final String REFERENCE_NO = "referenceNo" ;
	
	/**
	 * 授权码
	 * */
	public static final String AUTHORIZATION_NUMBER = "authorizationNo" ;
	
	/**
	 * 批次号
	 * */
	public static final String BATCH_NUMBER = "batchNo" ;
	
	/**
	 * 卡有效期
	 * */
	public static final String CARD_VALIDITY = "cardValidity" ;
	
	/**
	 * 凭证号/流水号
	 * */
	public static final String VOUCHER_NUMBER = "voucherNo" ;
	
	/**
	 * 卡号
	 * */
	public static final String CARD_NUMBER = "cardNo" ;
	
	/**
	 * 发卡行
	 * */
	public static final String BANK_CODE_ID = "bankCodeId" ;
	
	
	/**
	 * 交易日期
	 * */
	public static final String DEAL_TIME = "dealTime" ;
	
	/**
	 * 撤销金额 key
	 * */
	public static final String VOID_AMOUNT = "voidAmount" ;
	
	/**
	 * 撤销时间 key
	 * */
	public static final String VOID_TIME = "voidTime" ;
	
	/**
	 * 撤销凭证号/流水号 key
	 * */
	public static final String VOID_VOUCHER_NUMBER = "voidVoucherNo" ;
	
	
	/**
	 * 余额 key
	 * */
	public static final String BALANCE = "balance" ;
	
	/**
	 * 后台凭证号
	 * */
	public static final String SERVERAUDITNUMBER = "serverauditnumber" ;
	
	/**
	 * 支付方式
	 * */
	public static final String PAY_WAY_FOR_WA = "pay_way_wa" ;
	
	/**
	 * 支付渠道
	 * */
	public static final String PAY_CHANNEL_FOR_WA = "pay_channel_for_wa" ;
	
	/**
	 * 哆啦宝支付渠道
	 * */
	public static final int DUOLABAO_PAYMENT_CHANNEL = 4;
	/**
	 * log上传服务器地址 测试地址
	 * */
	// public static final String UPLOADING_LOG_SERVERADRESS =
	// "http://10.23.0.71/api.php/index/request";

	public static final String UPLOADING_LOG_SERVERADRESS = "http://mgmt.zhinengguo.com:38201/index.php?s=api/index/request";
	
	/**
	 * 第三方订单号
	 * */
	public static final String EXTERNAL_ORDERNUMBER = "external_orderNumber" ;
	
	/**
	 * 订单支付方式
	 * */
	public static final String ORDER_PAY_WAY = "order_pay_way" ;
	
	/**
	 * 订单状态 0-消费 1-退款或撤销
	 * */
	public static final String ORDER_STATUS = "order_status" ;
	
	/**
	 * 退款凭证号/流水号
	 * */
	public static final String NEW_VOUCHER_NUMBER = "newVoucherNo" ;
	
	/**
	 * 是否打印签购单
	 * */
	public static final String IS_PRINTSALESSLIP = "isPrintSalesSlip" ;
	
	/**
	 * 商户号 - 合利宝
	 * */
	public static final String EXTERNAL_MERCHANT_NO = "external_merchant_no" ;

	/**
	 * 外部流水号
	 * */
	public static final String EXTERNAL_SERIAL_NUMBER = "external_serial_number" ;
}
